package com.heima.model.user.dtos;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户行为 - 关注与取消关注
 * @author chenshan
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class UserRelationDto {
    /**
     * 文章id
     */
    private Long articleId;
    /**
     * 文章作者id
     */
    private Integer authorId;
    /**
     * 0 关注 1 取消
     */
    private Integer operation;
}
